package com.mybatis.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.UpdateProvider;

import com.lanhai.model.Station;


public interface StationDao {
	
	@Select("select * from station")
	List<Map<String, Object>> selectAll();
	
	@Select("select * from temp_station")
	List<Map<String, Object>> selectTempData();	
	
	@UpdateProvider(type=StationSqlProvider.class, method="updateTempData")
	void updateTempData(Station station);	

	@UpdateProvider(type=StationSqlProvider.class, method="update")
	void update(Station station);	
	
}
